package org.anotes.springexample.aop.example1;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * User: gmc
 * Date: 13/04/12
 */
public class Person {
    protected final Logger logger = LoggerFactory.getLogger(getClass());
    protected String name;

    public void walk(){
        logger.info(name+" is walking");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
